package com.ruoyi.qsng.domain;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 交流中心_点赞对象 k_clearinghouse_like
 * 
 * @author kanglou
 * @date 2023-06-07
 */
@Data
@ApiModel("交流中心_点赞对象 k_clearinghouse_like")
public class KClearinghouseLike extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 点赞人id */
    @Excel(name = "点赞人id")
    @ApiModelProperty("点赞人id")
    private String userId;

    /** 交流帖子id */
    @Excel(name = "交流帖子id")
    @ApiModelProperty("交流帖子id")
    private String clearinghouseId;

    /** 主键 */
    @ApiModelProperty("关注人id")
    private String id;

    @ApiModelProperty("是否点赞 0否 1是")
    private Long isLike;

    public void setUserId(String userId) 
    {
        this.userId = userId;
    }

    public String getUserId() 
    {
        return userId;
    }
    public void setClearinghouseId(String clearinghouseId) 
    {
        this.clearinghouseId = clearinghouseId;
    }

    public String getClearinghouseId() 
    {
        return clearinghouseId;
    }
    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("userId", getUserId())
            .append("clearinghouseId", getClearinghouseId())
            .append("id", getId())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
